<?php
namespace Vbaotask\Controller;

use Think\Controller;
use Think\Log;

class BaseController extends Controller{

    public function _initialize(){
        //本地或香港服务器翻墙可以执行更新,否则die
        $ip =  get_client_ip();
        if($ip=='114.55.58.173'|| $ip=='47.90.12.48' || $ip=='127.0.0.1'){
            echo get_client_ip();
        }else{
            echo 'IP错误';die;
        }
    }



}